package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Role;

public interface RoleService {
    PageResult findPage(QueryPageBean queryPageBean);

    void add(Role role);

    Role findByName(String name);

    Role findById(Integer id);

    void edit(Role role);

    void delete(Integer id);
}

